package com.zhc.dejingapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-07-27
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("spc")
@ApiModel(value = "SpcEntity对象", description = "")
public class SpcEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("机台ID")
    @TableField("e_id")
    private Long eId;

    @ApiModelProperty("当前数量")
    @TableField("CNT")
    private String cnt;

    @ApiModelProperty("模数")
    @TableField("CYCN")
    private String cycn;

    @ApiModelProperty("周期时间")
    @TableField("ECYCT")
    private String ecyct;

    @ApiModelProperty("射出终点位置")
    @TableField("EIPSE")
    private String eipse;

    @ApiModelProperty("射出时间")
    @TableField("EIPT")
    private String eipt;

    @ApiModelProperty("最大射速")
    @TableField("EIVM")
    private String eivm;

    @ApiModelProperty("储料终点")
    @TableField("EPLSSE")
    private String eplsse;

    @ApiModelProperty("储料时间")
    @TableField("EPLST")
    private String eplst;

    @ApiModelProperty("转保压位置")
    @TableField("ESIPS")
    private String esips;

    @ApiModelProperty("生产温度1")
    @TableField("ET1")
    private String et1;

    @ApiModelProperty("生产温度2")
    @TableField("ET2")
    private String et2;

    @ApiModelProperty("生产温度3")
    @TableField("ET3")
    private String et3;

    @ApiModelProperty("生产温度4")
    @TableField("ET4")
    private String et4;

    @ApiModelProperty("生产温度5")
    @TableField("ET5")
    private String et5;

    @ApiModelProperty("生产温度6")
    @TableField("ET6")
    private String et6;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "time")//create_time
    private Date time;



}
